Skip to content

Conversation

@lsaudon
Copy link
Contributor

@lsaudon lsaudon commented Sep 18, 2025

No description provided.

@olexale
Copy link
Owner

olexale commented Sep 18, 2025

No way... The previous build upgrade was quite painful 😅

Thanks for the PR, I'll review it during the weekend and publish a new version.

pubspec.yaml Outdated
Comment on lines 12 to 20
build_config: ^1.2.0
characters: ^1.4.0
collection: ^1.19.1
dart_style: ^3.1.2
diacritic: ^0.1.6
file: ^7.0.1
meta: ^1.16.0
path: ^1.9.1
yaml: ^3.1.3
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For business apps, I’d say it makes sense to stick with the latest dependencies and lock versions. For SDKs, though, I’d prefer to keep things as flexible as possible for users, so they’re not forced to upgrade unless we hit an actual issue with a transitive dependency that requires updating the constraint.

In this case, build_config sets the minimum SDK to 3.7.0, which is higher than the plugin’s minimum SDK. I haven't checked all the changelogs, maybe there are more changes like that. Most likely no one would notice, and we could just upgrade. But since we’re not using any new features from these dependencies and the plugin should work fine with older versions, I’d suggest only bumping the build version.

What do you think?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, wait, build itself is constrained to 3.7.0. Let me check what that means for the package.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeap, please revert all unnecessary upgrades to constraints to all dependencies. I'll deal with warnings before publishing a new version.

@olexale olexale merged commit 6716458 into olexale:master Sep 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants